﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogisticsDAL;
using LogisticsModel;

namespace LogisticsBLL
{
   public class TruckTeamBLL
    {

        #region 车队列表
        public static List<TruckTeam> GetTruckTeams(int tid,string tName) => TruckTeamDAL.GetTruckTeams(tid,tName);
        #endregion

        #region 车队修改
        public static bool EditTruckTeam(TruckTeam truckTeam) => TruckTeamDAL.EditTruckTeam(truckTeam) > 0;
        #endregion
    }
}
